package com.jinlia.show.modules.base.constant;

import com.jinlia.show.modules.base.constant.i.IBaseEnum;
import lombok.Getter;
/**
 * 订单状态:0:待接单,1:制配中,2:待取货,3:在路上,4:已完成
 * 订单动作:0-接单,1-制配完成,2-取货|外卖取货,3-完成订单
 * @author jinlia
 * @date 2020/4/29
 */
public enum OrderStatusEnum  implements IBaseEnum<Integer> {
    STEP_0(0, "待接单"),//接单
    STEP_1 (1, "制配中"),//
    STEP_2 (2, "待取货"),//叫号
    STEP_3 (3, "配送中"),//骑手取货
    STEP_4 (4, "已完成");//订单完成

    @Getter
    private Integer value;

    @Getter
    private String label;

    OrderStatusEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
